/* Front end styles */
.wp-block-jetpack-event-countdown {
  text-align: center;
  position: relative; }
  .wp-block-jetpack-event-countdown .event-countdown__counter {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600; }
  .wp-block-jetpack-event-countdown .event-countdown__counter span {
    margin: 0 1em;
    display: inline-flex;
    align-items: center; }
  .wp-block-jetpack-event-countdown .event-countdown__counter span strong {
    margin-right: 8px; }
  .wp-block-jetpack-event-countdown .event-countdown__day {
    line-height: 1;
    font-weight: 900;
    display: block; }
  .wp-block-jetpack-event-countdown .event-countdown__hour,
  .wp-block-jetpack-event-countdown .event-countdown__minute,
  .wp-block-jetpack-event-countdown .event-countdown__second {
    min-width: 1.5em;
    text-align: right; }
  .wp-block-jetpack-event-countdown .event-countdown__counter p,
  .wp-block-jetpack-event-countdown .event-countdown__event-title p {
    margin-top: 1rem;
    margin-bottom: 1rem; }
  .wp-block-jetpack-event-countdown .event-countdown__counter.event-countdown__counter-stopped p,
  .wp-block-jetpack-event-countdown .event-countdown__counter.event-countdown__counter-stopped span,
  .wp-block-jetpack-event-countdown .event-countdown__counter.event-countdown__counter-stopped strong {
    font-size: 100%;
    display: inline; }
  .wp-block-jetpack-event-countdown .event-countdown__counter-stopped + .event-countdown__event-title {
    position: absolute;
    left: 1em;
    right: 1em;
    top: 25%; }

.wp-block-jetpack-event-countdown .event-countdown__counter span strong {
  font-size: 24px; }

.wp-block-jetpack-event-countdown .event-countdown__day {
  font-size: 56px; }

.wp-block-jetpack-event-countdown .event-countdown__event-title {
  font-size: 36px; }

@media only screen and (min-width: 600px) {
  .wp-block-jetpack-event-countdown .event-countdown__counter span strong {
    font-size: 36px; }
  .wp-block-jetpack-event-countdown .event-countdown__day {
    font-size: 96px; }
  .wp-block-jetpack-event-countdown .event-countdown__event-title {
    font-size: 48px; } }

/* Hidden timestamp used by the script to extract the event time. */
.event-countdown__date {
  display: none; }

/**
 * Fireworks
 */
.event-countdown__fireworks {
  position: relative;
  overflow: hidden;
  z-index: -1;
  padding-top: 50%; }
  .event-countdown__fireworks > .event-countdown__fireworks-before,
  .event-countdown__fireworks > .event-countdown__fireworks-after {
    will-change: transform;
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: 1s bang ease-out infinite backwards, 1s gravity ease-in infinite backwards, 5s position linear infinite backwards;
    mix-blend-mode: overlay;
    box-shadow: -120px -218.66667px #fff922, 248px -16.66667px #ecfec7, 190px 16.33333px #fff922, -113px -308.66667px #feb352, -109px -287.66667px #b82806, -50px -313.66667px #feb352, 226px -31.66667px #feb352, 180px -351.66667px #feb352, -12px -338.66667px #ecfec7, 220px -388.66667px #ecfec7, -69px -27.66667px #feb352, -111px -339.66667px #fff922, 155px -237.66667px #685fd7, -152px -380.66667px #685fd7, -50px -37.66667px #685fd7, -95px -175.66667px #ecfec7, -88px 10.33333px #fff922, 112px -309.66667px #fff922, 69px -415.66667px #feb352, 168px -100.66667px #feb352, -244px 24.33333px #b82806, 97px -325.66667px #feb352, -211px -182.66667px #ecfec7, 236px -126.66667px #a3fdec, 140px -196.66667px #fff922, 125px -175.66667px #685fd7, 118px -381.66667px #feb352, 144px -111.66667px #b82806, 36px -78.66667px #a3fdec, -63px -196.66667px #685fd7, -218px -227.66667px #ecfec7, -134px -377.66667px #a3fdec, -36px -412.66667px #a3fdec, 209px -106.66667px #ecfec7, 91px -278.66667px #fff922, -22px -191.66667px #ecfec7, 139px -392.66667px #ecfec7, 56px -2.66667px #fff922, -156px -276.66667px #feb352, -163px -233.66667px #ecfec7, -238px -346.66667px #ecfec7, 62px -363.66667px #fff922, 244px -170.66667px #fff922, 224px -142.66667px #685fd7, 141px -208.66667px #685fd7, 211px -285.66667px #feb352, 181px -128.66667px #fff922, 90px -123.66667px #685fd7, 189px 70.33333px #ecfec7, -18px -383.66667px #ecfec7, 100px -6.66667px #feb352; }
  .event-countdown__fireworks > .event-countdown__fireworks-after {
    animation-delay: 1.25s, 1.25s, 1.25s;
    animation-duration: 1.25s, 1.25s, 6.25s; }

@-webkit-keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }

@keyframes bang {
  from {
    box-shadow: 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white, 0 0 white; } }

@-webkit-keyframes gravity {
  to {
    transform: translateY(200px);
    opacity: 0; } }

@keyframes gravity {
  to {
    transform: translateY(200px);
    -webkit-transform: translateY(200px);
    opacity: 0; } }

@-webkit-keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }

@keyframes position {
  0%, 19.9% {
    margin-top: 10%;
    margin-left: 40%; }
  20%, 39.9% {
    margin-top: 40%;
    margin-left: 30%; }
  40%, 59.9% {
    margin-top: 20%;
    margin-left: 70%; }
  60%, 79.9% {
    margin-top: 30%;
    margin-left: 20%; }
  80%, 99.9% {
    margin-top: 30%;
    margin-left: 80%; } }
